home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1999 May / Cd Pc Users extra 20 mayo 1999.iso / Prog / Inst / DevCpp20 / _SETUP.1 / i386pe.xbn < prev    next >
Encoding:
Text File  |  1998-01-20  |  2.3 KB  |  102 lines

  1. OUTPUT_FORMAT(pei-i386)
  2. SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/mingw32/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/mingw32/i386-mingw32/lib);
  3. ENTRY(_mainCRTStartup)
  4. SECTIONS
  5. {
  6.   .text  __image_base__ + __section_alignment__  : 
  7.   {
  8.      *(.init)
  9.     *(.text)
  10.      ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
  11.             LONG (-1); *(.ctors); *(.ctor); LONG (0); 
  12.      ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
  13.             LONG (-1); *(.dtors); *(.dtor);  LONG (0); 
  14.      *(.fini)
  15.     /* ??? Why is .gcc_exc here?  */
  16.      *(.gcc_exc)
  17.      etext = .;
  18.     /* Grouped section support currently must be explicitly provided for
  19.     in the linker script.  */
  20.     *(.text$)
  21.     *(.gcc_except_table)
  22.   }
  23.   .bss BLOCK(__section_alignment__)  :
  24.   {
  25.     __bss_start__ = . ;
  26.     *(.bss)
  27.     *(COMMON)
  28.     __bss_end__ = . ;
  29.   }
  30.   .data BLOCK(__section_alignment__) : 
  31.   {
  32.     __data_start__ = . ; 
  33.     *(.data)
  34.     *(.data2)
  35.     __data_end__ = . ; 
  36.     /* Grouped section support currently must be explicitly provided for
  37.     in the linker script.  */
  38.     *(.data$)
  39.   }
  40.   .rdata BLOCK(__section_alignment__) :
  41.   {
  42.     *(.rdata)
  43.     *(.eh_frame)
  44.     /* Grouped section support currently must be explicitly provided for
  45.     in the linker script.  */
  46.     *(.rdata$)
  47.   }
  48.   .edata BLOCK(__section_alignment__) :
  49.   {
  50.     *(.edata)
  51.   }
  52.   /DISCARD/ BLOCK(__section_alignment__) :
  53.   {
  54.     *(.debug$S)
  55.     *(.debug$T)
  56.     *(.debug$F)
  57.     *(.drectve)
  58.   }
  59.   .idata BLOCK(__section_alignment__) :
  60.   {
  61.     /* This cannot currently be handled with grouped sections.
  62.     See pe.em:sort_sections.  */
  63.     *(.idata$2)
  64.     *(.idata$3)
  65.      /* These zeroes mark the end of the import list.  */
  66.      LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
  67.     *(.idata$4)
  68.     *(.idata$5)
  69.     *(.idata$6)
  70.     *(.idata$7)
  71.   }
  72.   .CRT BLOCK(__section_alignment__) :
  73.   {                     
  74.     /* Grouped sections are used to handle .CRT$foo.  */
  75.     *(.CRT$)
  76.   }
  77.   .endjunk BLOCK(__section_alignment__) :
  78.   {
  79.     /* end is deprecated, don't use it */
  80.      end = .;
  81.      __end__ = .;
  82.   }
  83.   .reloc BLOCK(__section_alignment__) :
  84.   {                     
  85.     *(.reloc)
  86.   }
  87.   .rsrc BLOCK(__section_alignment__) :
  88.   {                     
  89.     *(.rsrc)
  90.     /* Grouped sections are used to handle .rsrc$0[12].  */
  91.     *(.rsrc$)
  92.   }
  93.   .stab BLOCK(__section_alignment__)  (NOLOAD) : 
  94.   {
  95.     [ .stab ]
  96.   }
  97.   .stabstr BLOCK(__section_alignment__) (NOLOAD) :
  98.   {
  99.     [ .stabstr ]
  100.   }
  101. }
  102.